package cn.itcast.tanhua.mytanhuasso.service;

import cn.itcast.tanhua.vo.ErrorResult;
import cn.itcast.tanhua.pojo.User;

import java.util.Map;

/**
 * @author 郭文亮
 * @since 2021/11/22 19:31
 */
public interface UserService {
    ErrorResult sendCheckCode(String mobile);

    Map<String, Object> login(String mobile, String verificationCode);

    User queryUserByToken(String token);

    Map<String,Object> releaseOn(Long userId);

    Map<String,Object> releaseDown(Long userId);

    User queryUserByUserId(Long userId);
}
